﻿using System.Collections.Generic;
using Longtop.Web.Helpers;
using Longtop.Web.WebSite.Admin.Shared;
using Longtop.Web.WebSite.Models;
using Longtop.Web.SaleWeb.Models;
namespace Longtop.Web.WebSite.Admin.Labels {
    public class IndexModel : IndexMasterModel {
    }
    public class CreateModel : Shared.CreateMasterModel {
        public CreateModel() {
            Model = new Lable();
        }
        public Lable Model { get; set; }
    }
    public class ListModel : ListMasterModel, Longtop.Web.WebSite.Shared.IPagedModel<Lable> {

        public ListModel() {
            this.PageSize = 20;
        }

        public List<RolePermission> Permissions { get; set; }

        public PagedList<Lable> PagedList {
            get;
            set;
        }

        public int PageSize {
            get;
            set;
        }
    }

    public class SelectModel : SiteMasterModel {
        public int SelectedId { get; set; }
        public string Name { get; set; }
        public List<Lable> Labels { get; set; }
    }
}
